package com.edu.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/*
 * @Author:princess
 * @Date 2023/12/11 12 11 18:57
 *
 */
@Controller
@RequestMapping("/user")
@Api(value = "用户接口", description = "用户相关api")
public class UserController {

    @RequestMapping("/login")
    @ApiOperation(value = "登录", notes = "后台登录",httpMethod = "GET", response = ModelAndView.class)
    public String userLogin(String username,String password){
        return "forward:/index.jsp";
    }
}
